From: kaf24@firebug.cl.cam.ac.uk Date: Sat, 24 Sep 2005 14:35:47 +0000 (+0100) Subject: Fix build for pedantic compilers. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16770^2~1^2~4^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9d1a4b6c93750347b99228c315b384a7ca8014ec;p=xen.git Fix build for pedantic compilers. --- diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 512b1bf5f8..695caa17a5 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -83,7 +83,7 @@ __gnttab_map_grant_ref( int handle; u64 addr; unsigned long frame = 0; - int rc; + int rc = GNTST_okay; active_grant_entry_t *act; /* Entry details from @rd's shared grant table. */ @@ -377,7 +377,6 @@ __gnttab_map_grant_ref( spin_unlock(&rd->grant_table->lock); } - } ld->grant_table->maptrack[handle].domid = dom;